package com.ruoyi.system.controller;

import com.ruoyi.system.domain.DsDevice;
import com.ruoyi.system.domain.DsDeviceType;
import com.ruoyi.system.service.IDsDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


@RestController
public class NameDeviceController {
    @Autowired
  private  IDsDeviceService service;

    public NameDeviceController(IDsDeviceService service) {
        this.service = service;
    }
//
//    @GetMapping("/vehicles")
//    public List<DsDevice> getList(Long id){
//        return service.delId(id);
//    }

}
